import Vue from "vue";
 
//==============================StringUtil=================================
const platformUtil = {
  //是否为空判断
  getPlatForm:function(){
	   
	   let platform = "";
	  
	    //#ifdef APP-PLUS
	    platform = "APP-PLUS"
	    //#endif
		
	  
	    //#ifdef APP-PLUS-NVUE
	    platform = "APP-PLUS-NVUE"
	    //#endif
	  
	    //#ifdef H5
	    platform = "H5"
	    //#endif
	  
	    //#ifdef MP-WEIXIN
	    platform = "MP-WEIXIN"
	    //#endif
	  
	    //#ifdef MP-ALIPAY
	    platform = "MP-ALIPAY"
	    //#endif
	  
	    //#ifdef MP-BAIDU
	    platform = "MP-BAIDU"
	    //#endif
	  
	    //#ifdef MP-TOUTIAO
	    platform = "MP-TOUTIAO"
	    //#endif
	  
	    //#ifdef MP-QQ
	    platform = "MP-QQ"
	    //#endif
	  
	    //#ifdef MP-360
	    platform = "MP-360"
	    //#endif
	  
	    //#ifdef MP
	    platform = "MP"
	    //#endif
	  
	    //#ifdef quickapp-webview
	    platform = "quickapp-webview"
	    //#endif
	  
	    //#ifdef quickapp-webview-union
	    platform = "quickapp-webview-union"
	    //#endif
	  
	    //#ifdef quickapp-webview-huawei
	    platform = "quickapp-webview-huawei"
	    //#endif
	  
	    return platform 
  }
};
Vue.prototype.platformUtil = platformUtil;
 
export default {};
